// 用来管理所有的请求接口

import service from "./request";

// 登录接口和数


export const GetRights = (type)=>{
    return service({
        method:'get',
        url:'/rights/'+type
    })
}

export const GetRoles = ()=>{
    return service({
        method:'get',
        url:'/roles/'
    })
}

